﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace BA2009.Entities
{
    public class Banner : EntityBase
    {
        [ColumnAttributes("BannerID")]
        public int BannerID { get; set; }

        [ColumnAttributes("BannerName")]
        public string BannerName { get; set; }


        [ColumnAttributes("BannerTypeID")]
        public int BannerTypeID { get; set; }

        [ColumnAttributes("Code")]
        public string Code { get; set; }

        public IList<int> Resources { get; set; }

        public IList<int> BannerPositions { get; set; }

        public override void Validate()
        {
            throw new NotImplementedException();
        }

        public override string TableName
        {
            get
            {
                return "Banner";
            }
            
        }
    }
}
